//
//  APPLETempViewController.swift
//  123
//
//  Created by pangjiaxing on 15/12/28.
//  Copyright © 2015年 pangjiaxing. All rights reserved.
//

import UIKit

class APPLETempViewController: UIViewController {

    override func viewDidLoad() {
        
        super.viewDidLoad()
        view.backgroundColor=UIColor.whiteColor()
        navigationItem.rightBarButtonItem=UIBarButtonItem( title: "push", targat: self, action: "push")
        
    }
    
    @objc private func push(){
        
        print("我在APPLETempViewController，别推了~！！~")
        let vc=APPLETempViewController()
        navigationController?.pushViewController(vc , animated: true)
        
    }
   

}
